home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…rary 7 (Internal Edition) / Apple R&P Lib Internal v7.0.iso / 5-Fonts & Software / Demo Software / Aldus PageMaker 4.0 Demo / Aldus / APDs / QMS-PS 800 II.apd < prev    next >
Text File  |  1990-05-16  |  9KB  |  237 lines

  1. @Comment: "QMS-PS 800 II.apd" for QMS PS-800 II printer.
  2. @Comment: Aldus Printer Description (APD) file 
  3. @Comment:     $Revision:   1.0  $
  4. @Comment:     $Date:   25 Feb 1988 17:07:46  $
  5. @Comment: This APD produced for use with Aldus PageMaker 4.0 or earlier version.
  6. @Comment: Keyword values are currently limited to 255 characters in length.
  7.  
  8. @FormatVersion: "1.0"
  9. @Product: "(QMS-PS 800 II)"
  10. @PSVersion: "(46.1)"
  11. @PSRevision: "1"
  12.  
  13. @Resolution: "300 300"
  14.  
  15. @AllowComments: "true"
  16. @AllowVMQuery: "true"
  17.  
  18. @Comment:  "FreeVM" value is equivalent to vmstatus "maximum" minus "used" values
  19. @Comment: Limit VM when printing to file, to not exceed save-level limit for downloaded fonts:
  20. @FreeVM: "350000"
  21. @Comment: Actual value is @FreeVM: "403000"
  22. @WorkingMem: "25000"
  23. @AldusHeaderMem: "34000"
  24. @Comment: Example of declaration of a downloadable font's memory requirement:
  25. @Comment: @FontMem "Benjo-Light": "82600"
  26.  
  27. @Comment: PatchFile is sent right after %%EndComments, AldusPatchFile right before %%EndSetup.
  28. @PatchFile: "statusdict begin 0 setjobtimeout end userdict /AldusDict known {(A previous version PageMaker header is loaded.) = flush} if"
  29. @AldusPatchFile: ""
  30. @ExitServer: "serverdict begin exitserver "
  31. @Password: "0"
  32.  
  33. @DefaultScreenFreq: "60"
  34. @DefaultScreenAngle: "45"
  35. @DefaultScreenProc: "{abs exch abs 2 copy add 1 gt 
  36. {1 sub dup mul exch 1 sub dup mul add 1 sub} {dup mul exch dup mul add 1 exch sub}ifelse}"
  37. @End
  38.  
  39. @ScreenFreq: ""
  40. @ScreenAngle: ""
  41. @ScreenProc: ""
  42.  
  43. @InvertScreenProc: "{abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul 
  44. add 1 exch sub}{dup mul exch dup mul add 1 sub} ifelse}"
  45. @End
  46. @Transfer: ""
  47. @InvertTransfer: "{1 exch sub}"
  48.  
  49. @NormalizedTransfer: "{
  50. mark
  51. 1.0 1.0 .98 .9 .82 .68 .56 .48 .28 .1 .06 .0
  52. counttomark dup 3 add -1 roll exch
  53. 2 sub mul dup floor cvi
  54. dup 3 1 roll sub
  55. exch dup 
  56. 3 add index exch 2 add index dup
  57. 4 1 roll
  58. sub mul add
  59. counttomark 1 add 1 roll 
  60. cleartomark
  61. } bind"
  62. @End
  63.  
  64. @InvertNormalizedTransfer: "{
  65. mark
  66. .0 .0 .06 .1 .28 .48 .56 .68 .82 .9 .98 1.0
  67. counttomark dup 3 add -1 roll exch
  68. 2 sub mul dup floor cvi
  69. dup 3 1 roll sub
  70. exch dup 
  71. 3 add index exch 2 add index dup
  72. 4 1 roll
  73. sub mul add
  74. counttomark 1 add 1 roll 
  75. cleartomark
  76. } bind"
  77. @End
  78.  
  79. @?FontList: "save FontDirectory { pop = flush } forall (*) = flush restore"
  80. @?FontQuery: "FontDirectory exch known {1}{0} ifelse = flush"
  81. @?VMStatus: "vmstatus 3 -1 roll dup 10 gt
  82. {3 1 roll exch pop dup} {3 1 roll} ifelse == == == flush"
  83. @?OutputOrder: "/pagestackorder where{pagestackorder {(facedown)}{(faceup)}
  84.  ifelse}{(faceup)}ifelse = flush"
  85. @?PaperTray: "mark () statusdict /printerstatus known {
  86. userdict /T statusdict /printerstatus get exec 16#07E and put 
  87.  T 2 eq {(A4)} if T 8 eq {(Letter)} if T 24 eq {(Legal)} if} if 
  88.  = flush cleartomark"
  89. @End
  90.  
  91. @Comment: PageSize options appear in the "Paper" list box in the Printer-specific dialog.
  92. @DefaultPageSize:        "Letter"
  93. @PageSize Letter:        "letter"
  94. @PageSize A4:            "a4"
  95. @PageSize B5:            "b5"
  96. @PageSize Legal:        "legal"
  97.  
  98. @PaperTray Letter:     "statusdict begin lettertray end"
  99. @PaperTray Legal:     "statusdict begin legaltray end"
  100. @PaperTray B5:        "statusdict begin b5tray end"
  101. @PaperTray A4:         "statusdict begin a4tray end"
  102.  
  103. @Comment: PageRegion gives the printable area of each paper option.
  104. @PageRegion Letter:     "18 2.88 594 789.12"
  105. @PageRegion A4:         "17.29 17.15 577.99 824.74"
  106. @PageRegion B5:         "7.37 12.90 491.53 695.77"
  107. @PageRegion Legal:         "18 18 594 990"
  108.  
  109. @Comment: PaperDimension gives the total paper size of each option.
  110. @PaperDimension Letter:     "612 792"
  111. @PaperDimension A4:         "595.28 841.89"
  112. @PaperDimension B5:         "498.90 708.66"
  113. @PaperDimension Legal:         "612 1008"
  114.  
  115. @DefaultInputSlot: "Lower"
  116. @Comment: This seems unique for this printer:
  117. @InputSlot Upper: "statusdict begin 2 setpapertray end"
  118. @InputSlot Lower: "statusdict begin 1 setpapertray end"
  119.  
  120. @DefaultOutputOrder: "faceup"
  121.  
  122. @ManualFeed true: "statusdict begin /manualfeed true def end"
  123. @ManualFeed false: "statusdict begin /manualfeed false def end"
  124.  
  125. @DefaultFont: "Courier"
  126. @Font "Times-Roman": "Standard" "(001.000)"
  127. @Font "Times-Bold": "Standard" "(001.000)"
  128. @Font "Times-Italic": "Standard" "(001.000)"
  129. @Font "Times-BoldItalic": "Standard" "(001.000)"
  130. @Font "Helvetica": "Standard" "(001.000)"
  131. @Font "Helvetica-Bold": "Standard" "(001.000)"
  132. @Font "Helvetica-Oblique": "Standard" "(001.000)"
  133. @Font "Helvetica-BoldOblique": "Standard" "(001.000)"
  134. @Font "Courier": "Standard" "(001.000)"
  135. @Font "Courier-Bold": "Standard" "(001.000)"
  136. @Font "Courier-Oblique": "Standard" "(001.000)"
  137. @Font "Courier-BoldOblique": "Standard" "(001.000)"
  138. @Font "Symbol": "Standard" "(001.000)"
  139. @Font "Palatino-Roman": "Standard" "(001.000)"
  140. @Font "Palatino-Italic": "Standard" "(001.000)"
  141. @Font "Palatino-Bold": "Standard" "(001.000)"
  142. @Font "Palatino-BoldItalic": "Standard" "(001.000)"
  143. @Font "AvantGarde-Book": "Standard" "(001.000)"
  144. @Font "AvantGarde-BookOblique": "Standard" "(001.000)"
  145. @Font "AvantGarde-Demi": "Standard" "(001.000)"
  146. @Font "AvantGarde-DemiOblique": "Standard" "(001.000)"
  147. @Font "Bookman-Light": "Standard" "(001.000)"
  148. @Font "Bookman-LightItalic": "Standard" "(001.000)"
  149. @Font "Bookman-Demi": "Standard" "(001.000)"
  150. @Font "Bookman-DemiItalic": "Standard" "(001.000)"
  151. @Font "Helvetica-Narrow": "Standard" "(001.000)"
  152. @Font "Helvetica-Narrow-Oblique": "Standard" "(001.000)"
  153. @Font "Helvetica-Narrow-Bold": "Standard" "(001.000)"
  154. @Font "Helvetica-Narrow-BoldOblique": "Standard" "(001.000)"
  155. @Font "NewCenturySchlbk-Roman": "Standard" "(001.000)"
  156. @Font "NewCenturySchlbk-Italic": "Standard" "(001.000)"
  157. @Font "NewCenturySchlbk-Bold": "Standard" "(001.000)"
  158. @Font "NewCenturySchlbk-BoldItalic": "Standard" "(001.000)"
  159. @Font "ZapfChancery-MediumItalic": "Standard" "(001.000)"
  160. @Font "ZapfDingbats": "Standard" "(001.000)"
  161.  
  162.  
  163. @Comment: The order of occurrence determines the order of parsing; put general messages last.
  164. @Comment: PrinterWarning beeps and displays the translation string in the status line.
  165.  
  166. @PrinterWarning    "%%[ PrinterError: paper \where\ misfeed \lost\]%%"
  167.                 : "Printer “^2” needs attention: paper jam."
  168. @PrinterWarning    "%%[ PrinterError: \Reason\ ]%%"
  169.                 : "Printer “^2” needs attention: \Reason\."
  170.  
  171. @PrinterWarning    "\s\status: PrinterError: paper \where\ misfeed\lost\"
  172.                 : "Printer “^2” needs attention: paper jam."
  173. @PrinterWarning    "\s\status: PrinterError: \Reason\; source: \source\"
  174.                 : "Printer “^2” needs attention: \Reason\."
  175.  
  176. @ParameterReason    "no paper tray" :         "no paper tray"
  177. @ParameterReason    "out of paper" :         "out of paper"
  178. @ParameterReason    "cover open" :             "cover open"
  179. @ParameterReason    "warming up" :             "warming up"
  180. @ParameterReason    "service call" :         "service call"
  181. @ParameterReason    "resetting printer" :     "resetting printer"
  182. @ParameterReason    "cover open" :             "cover open"
  183. @ParameterReason    "timeout, clearing printer" : "timeout"
  184. @ParameterReason    "timeout" :             "timeout"
  185. @ParameterReason    "manual feed timeout" : "manual feed timeout"
  186. @ParameterReason    "no toner cartridge" :     "no toner cartridge"
  187.  
  188.  
  189. @Comment: PrinterMessage displays the translation string in the status line.
  190. @PrinterMessage     "job: \username\; document: \jobname\; status: \Status\; source: \source\"
  191.                 : "User: \username\;  document: \jobname\;  status: \Status\."
  192. @PrinterMessage     "job: \jobname\; status: \Status\; source: \source\"
  193.                 : "Document: \jobname\;  status: \Status\."
  194. @PrinterMessage     "status: \Status\; source: \source\"
  195.                 : "Status: \Status\."
  196. @PrinterMessage     "\Font1\ not found, using \Font2\"
  197.                 : "Font \Font1\ is not found on ^2, substituting \Font2\"
  198.  
  199. @ParameterStatus     "idle"    : "idle"
  200. @ParameterStatus     "busy"    : "processing job"
  201. @ParameterStatus     "waiting"    : "preparing data"
  202. @ParameterStatus    "printing"    : "printing"
  203.  
  204. @ParameterTray        "letter":    "Letter"
  205. @ParameterTray        "legal":     "Legal"
  206. @ParameterTray        "a4":         "A4"
  207. @ParameterTray        "b5":         "B5"
  208.  
  209. @Comment: a null translation string causes no message to display.
  210. @PrinterMessage    "%%[ exitserver: permanent state may be changed ]%%"
  211.                 : ""
  212. @PrinterMessage    "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
  213.                 : ""
  214.  
  215. @Comment: Parameter substitution of printer name for "^2" is not allowed in "...Alert" messages!
  216. @Comment: PrinterWarningAlert displays translation string in a warning-alert box and continues.
  217. @PrinterWarningAlert "A previous version PageMaker header is loaded."
  218.     : "Printer performance may improve if you do not print with PageMaker version 1.2 on this net."
  219.  
  220. @Comment: PrinterErrorAlert displays translation string in a stop-alert box and aborts printing.
  221. @PrinterErrorAlert    "%%[ Error: rangecheck; OffendingCommand: \Tray\tray ]%%"
  222.                 : "Please place the \Tray\ paper tray in your printer, and print again."
  223. @PrinterErrorAlert    "%%[ Error: \fonterror\; OffendingCommand: fontdownload ]%%"
  224.                 : "The font being downloaded has not been initialized for this printer."
  225. @PrinterErrorAlert    "%%[ Error: VMerror; OffendingCommand: \operator\ ]%%"
  226.                 : "Printer memory exceeded; turn printer off and on, or print smaller sections of the document."
  227. @PrinterErrorAlert    "%%[ Error: timeout; OffendingCommand: \operator\ ]%%"
  228.                 : "The printer had to wait too long, and went on to the next job; try again."
  229. @PrinterErrorAlert    "%%[ Error: \error\; OffendingCommand: \operator\ ]%%"
  230.                 : "Cannot print due to PostScript error: “\error\,” in command: “\operator\.”"
  231. @PrinterErrorAlert    "Fatal system error \error\"
  232.                 : "The printer has encountered an error. Simplify your document or try again."
  233.  
  234.  
  235.  
  236.  
  237.